#ifndef PATH_H
#define PATH_H

#include <vector>

#include "Vec2.h"
#include "Vec3.h"

// ---> Opensteer has pathway
// ---> take a look at it

namespace Engine
{
	class Path
	{
	public:
		Path();

		void InitPath(const Vec3& start, const Vec3& end);
		void DrawPath();
		Vec3 MapPointToPath(const Vec3& point);
		float PointToSegmentDistance(const Vec3& point, Vec3& p0, Vec3& p1);

		void PopulateVec(Vec2 n);

		void SetT(Vec3 t); // ---> for debug only

	private:
		Vec3 m_start, m_end;
		Vec3 m_pathPoint;

		std::vector<Vec2> m_path;

		Vec3 m_chosen;

		Vec3 m_t; // ---> debug purposes only
	};
}

#endif